import 'package:flutter/services.dart';

class SplashPlugin{
  static const MethodChannel _channel = const MethodChannel('flutter_splash_screen');

  ///显示
  static Future<String> show() async{
    return await _channel.invokeMethod('show');
  }

  ///隐藏
  static Future<String> hide() async{
    return await _channel.invokeMethod('hide');
  }

}